<?php

namespace app\models\base;

use Yii;

/**
 * This is the model class for table "chindor_activity_log".
 *
 * @property string $id
 * @property integer $activity_id
 * @property integer $create_time
 * @property integer $create_user_id
 * @property string $content
 * @property integer $last_modify
 * @property integer $disabled
 */
class ActivityLog extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'chindor_activity_log';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['activity_id', 'create_time', 'create_user_id', 'last_modify', 'disabled','project_id','status','version'], 'integer'],
            [['image','file'], 'string', 'max' => 255],
            [['content'], 'string']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'activity_id' => 'Activity ID',
            'create_time' => 'Create Time',
            'create_user_id' => 'Create User ID',
            'content' => 'Content',
            'last_modify' => 'Last Modify',
            'disabled' => 'Disabled',
        ];
    }
}
